package com.lmaye.eshop.inventory.mapper;

import com.lmaye.eshop.inventory.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lmay.Zhou
 * @since 2019-03-06
 */
public interface UserMapper extends BaseMapper<User> {
    /**
     * 查询用户信息
     * - 根据用户名
     *
     * @param name 用户名
     * @return User
     */
    User selectByName(String name);
}
